package com.train.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Component
@FeignClient(value = "pay-server")
public interface PayOpenFeign {
    @RequestMapping(path = "/pay",method = {RequestMethod.GET})
    String pay();
}
